package com.liucxu.qiushimeinv.View.Fragment;

import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.liucxu.qiushimeinv.Base.BaseFragment;
import com.liucxu.qiushimeinv.R;
import com.liucxu.qiushimeinv.View.Activity.PayFeedbackActivity;

/**
 * "我"页面对应的Fragment
 * Created by liukanshan on 2017/1/1.
 */

public class MeFragment extends BaseFragment {

    private LinearLayout login_user_layout;
    private TextView user_name;
    private TextView register;
    private TextView login;
    private TextView delta;

    @Override
    public int getInflateLayout() {
        return R.layout.fragment_me;
    }

    @Override
    public void setupView() {
        login_user_layout=$(R.id.login_user_layout);
        user_name=$(R.id.user_name);
        register=$(R.id.register);
        login=$(R.id.login);
        delta=$(R.id.delta);
        register.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(getActivity(), PayFeedbackActivity.class);
                getActivity().startActivity(intent);
            }
        });
        login.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

            }
        });
        delta.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

            }
        });
    }

    @Override
    public void setupData() {

    }
}
